package com.kantboot.project.auth.user.service.impl;

import com.kantboot.project.auth.user.entity.CesAuthGoodsParent;
import com.kantboot.project.auth.user.repository.CesAuthGoodsParentRepository;
import com.kantboot.project.auth.user.service.ICesAuthGoodsParentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class CesAuthGoodsParentServiceImpl implements ICesAuthGoodsParentService {

    @Resource
    CesAuthGoodsParentRepository repository;

    @Override
    public CesAuthGoodsParent findByName(String name) {
        return repository.findByName(name);
    }
}
